[ADD] supplier_portal : Upload PDF & XML to Create Draft Vendor Bill#1164
Draft
dhvag-odoo wants to merge 1 commit intoodoo:19.0from
Draft
[ADD] supplier_portal : Upload PDF & XML to Create Draft Vendor Bill#1164dhvag-odoo wants to merge 1 commit intoodoo:19.0from
dhvag-odoo wants to merge 1 commit intoodoo:19.0from
Conversation
In this task, I implemented a supplier portal feature where a portal user can log in and upload invoice files (PDF and XML) to automatically generate a draft vendor bill in Odoo. The portal homepage was extended by inheriting the existing portal template and adding a new card. On clicking the card, the supplier is redirected to an upload form where: - Supplier can select the related organization - Need to upload a PDF file. - Need to upload a XML file. After clicking Submit button: - The system validates the selected company and uploaded files. - A draft vendor bill is created. - Both PDF and XML file are attached to the draft bill. - A success or error message is shown accordingly. Validation checks and security checks are implemented to ensure: - Only portal user can access the feature. - Suppliers can only select companies assigned to them. - Files are validated before bill is created. Task-5929548
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

In this task, I implemented a supplier portal feature where a portal user can log in and upload invoice files (PDF and XML) to automatically generate a draft vendor bill in Odoo.
The portal homepage was extended by inheriting the existing portal template and adding a new card.
On clicking the card, the supplier is redirected to an upload form where:
After clicking Submit button:
Validation checks and security checks are implemented to ensure:
Task-5929548